package com.service;

import com.mypg.Icon;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IconService {
    List<Icon> selectAllIcon();
    Icon selectIconByIcon_id(int icon_id);
    List<Icon> selectIconFor_icon_table_jsp(String icon_class, int start_row, int page_nums);
    int selectIcon_count_For_icon_table_jsp(String icon_class);
    int selectIcon_count();

    void insertIcon(Icon icon);

    void deleteIconByIcon_id(int icon_id);

    void updateIconByIcon_id(Icon icon);
    void updateIcon_imgByIcon_id(String icon_img,int icon_id);
}
